package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class SystemController {

    @GetMapping("login")
    public String login(){
        return "login.html";  //用模板引擎
    }

    @GetMapping("registry")
    public String registry(){
        return "registry.html";  //用模板引擎
    }

    @GetMapping("success")
    public String success(){
        return "success.html";  //用模板引擎
    }
}
